package com.bjpowernode.boss.exception;

import com.bjpowernode.boss.enums.ajax.Code;
import lombok.Data;

/**
 * 管理后台异常
 */
@Data
public class BossException extends RuntimeException {

    private Code code;

    public BossException() {
        super();
    }

    public BossException(Code code) {
        super();
        this.code = code;
    }

    public BossException(String message) {
        super(message);
    }
}
